USE [PaltopDatabase]
GO

/****** Object:  Table [dbo].[SYSMainSetting]    Script Date: 10/28/2011 10:26:43 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[SYSMainSetting](
	[SYSMainSettingID] [int] IDENTITY(1,1) NOT NULL,
	[Setting] [xml] NULL,
	[Title] [nvarchar](50) NOT NULL,
	[ActiveFlag] [bit] NOT NULL,
 CONSTRAINT [PK_SYSMainSetting] PRIMARY KEY CLUSTERED 
(
	[SYSMainSettingID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

ALTER TABLE [dbo].[SYSMainSetting] ADD  CONSTRAINT [DF_SYSMainSetting_ActiveFlag]  DEFAULT ((1)) FOR [ActiveFlag]
GO


